package cn.rongdao.jrkabao.ui.main.mainfragment.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.mifengkong.frtools.inputmethod.FRView;
import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerAdapter;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.main.vip.VipPurchaseRecordBean;

/**
 * Created by jack on 2018/1/26
 */

public class VipPurchaseRecordAdapter extends FRBaseRecyclerAdapter<VipPurchaseRecordBean, VipPurchaseRecordViewHolder> {

    public VipPurchaseRecordAdapter(Context context) {
        super(context);
    }

    @Override
    public VipPurchaseRecordViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new VipPurchaseRecordViewHolder(FRView.inflateLayout(getContext(), R.layout.item_vip_purchase_record, parent, false));
    }
}
